A metamodel uses MOF to formally define the abstract syntax of a set of modeling constructs. 元模型使用MOF正式的定义一系列建模构想的抽象语法。
To avoid this flaw, you will reconstruct the rule by using Java's abstract syntax tree ( AST) to identify the problems. 为了避免这种缺陷,您可以使用Java的抽象语法树(AST)来识别这种问题,从而重新构筑规则。
Datum-> syntax-object converts a list to the more abstract syntax object representation. datum->syntax-object将列表转换为更抽象的语法对象表示。
It suffices to say here that when this rule eventually runs, a target C++ operation will have been created already in the abstract syntax tree mentioned earlier. 在这里就可以说明,该规则什么时候起效,在上面提到过的抽象语法树状结构中,已经创建了一个目标C++操作。
Requires no knowledge of UML semantics ( abstract syntax) 不需要了解UML语义(抽象语法)
I'll note before we go any further that the terms parse tree and abstract syntax tree ( or AST) describe very similar grammatical structures. 在我们继续之前,我要特别提一下,术语解析树和抽象语法树(或AST)描述了非常相似的语法结构。
This time, you will fetch all of the import statements in the abstract syntax tree. 这一次,您可以读取抽象语法树中的所有导入声明了。
This pattern is often reapplied several times through a rule as you dig down through an abstract syntax tree. 在您沿着抽象语法树深入时,该模式通常会通过一条规则重复应用几次。
The Erlang language ( developed by Ericsson) uses a VM to execute Erlang bytecodes and also to interpret Erlang from the source's abstract syntax tree. Erlang语言(由Ericsson开发)使用一个VM来执行Erlangbytecodes,且通过源的抽象语法树解译Erlang。
They contain similar methods and create similar abstract syntax trees ( ASTs). 它们包含相似的方法并创建相似的抽象语法树(AST)。
Use the abstract syntax tree when you cannot use Eclipse markers 当您不能使用Eclipse标记时可以使用抽象语法树
For that, you would turn to something quite familiar to compiler aficionados: the JDT's Abstract Syntax Tree ( AST) framework. 因为您会转而使用一些对编译器迷而言十分熟悉的工具:JDT的抽象语法树(AbstractSyntaxTree,AST)框架。
You can add new rules, either by writing Java code and recompiling PMD or, a little more simply, by writing XPath expressions that are resolved against each Java class's abstract syntax tree. 您可以添加新规则:可以通过编写Java代码并重新编译PDM,或者更简单些,编写XPath表达式,它会针对每个Java类的抽象语法树进行处理。
Quick fixes are provided only with the violating ASTNode ( the node from the abstract syntax tree) and the IDocument, which is the resource that holds the node. 快速修复只与违反ASTNode(来自抽象语法树的节点)以及IDocument,它是含有节点的资源。
An interesting side-effect of abstract syntax trees is that you can completely replace one function call with another. 抽象语法树的一个有趣的副作用是你能完全用另外一个函数来代替某个函数的调用。
Automatic Refactoring Method of Cloned Code Using Abstract Syntax Tree and Static Analysis 使用抽象语法树和静态分析的克隆代码自动重构方法
The front-end component handles the parsing of source code and the generation of abstract syntax trees. 前端组件用来解析源码并生成抽象语法树。
MPS maintains the code in an Abstract Syntax Tree ( AST), which consists of nodes with properties, children and references, and fully describes the program code. MPS用一棵抽象句法树(AST)来维护代码。
An abstract syntax tree is an expression represented as a collection of objects. 抽象语法树是一个表示为对象集合的表达式。
MPS, in its turn, stores its models as abstract syntax trees and allows editing them directly. MPS把模型表示成一棵可以直接编辑的抽象句法树。
A lack of a pure Ruby parser has been negligible for some time in Ruby's history, since getting the Abstract Syntax Tree ( AST) of some Ruby code was possible with utilities such as ParseTree. 因为可以使用类似语法分析树(ParseTree)的通用方法来对Ruby代码进行分析并获得抽象语法树(AbstractSyntaxTree),所以在Ruby历史上的一定时期内,纯Ruby语法分析器的缺失被忽视了。
Do you translate command-by-command or do you build the full Abstract Syntax Tree and optimize on that as GWT does for translating Java to JavaScript? 是一条命令接着一条命令地转还是先构建出完整的抽象语法树并对其优化呢,就像GWT将Java转换为JavaScript那样?
The syntax-aware reflow we use to wrap long lines is based on the parse trees ( abstract syntax trees) for the language, and some other things need per-language customization. 语法感知的长句断行基于语言的解析树(抽象语法树),其他功能需要各个语言的定制。
There are workarounds, like Ryan Davis'ParseTree which uses the parser of Ruby's interpreter ( via a native extension) to get at the Abstract Syntax Tree ( AST) for Ruby source. 有些工作,像RyanDavis的分析树,用的是Ruby解释器的分析器(通过一个本地扩展)来获得Ruby源码的抽象语法树(AST)。
Here other techniques such as compiling an abstract syntax tree and resolving variables in closures are discussed. 在这里,对其它技术(如:编译一个抽象语法树和解析闭包中的变量)也进行了讨论。
This paper analysed the use of object-oriented software metrics methods to detect code smell, and brought forward design code smell detection tool based on Abstract Syntax Tree. 基于程序切片技术这一特点,本文提出了一种切片度量代码味道的方法,用其识别代码味道,促进全自动化重构技术发展。
You define a language by defining the structure of its abstract syntax tree, its abstract grammar. 定义语言就是定义它的抽象句法树,它的抽象文法。
Strictly speaking, the AST ( abstract syntax tree) is also an IR ( intermediate representation)– since it is not quite the source, and not quite the target language. 严格说来,AST(抽象语法树)也是一种IR&因为它既不是源代码,也不是目标语言。
The analysis of the abstract syntax tree of the Groovy code, allows us to collect all relevant information we need. 对于Groovy代码的抽象语法树的分析,可以让我们搜集到我们需要的所有相关信息。
This paper introduced a kind of variable type collecting method, which is based on layered thoughtway and abstract syntax tree. 提出了一种基于分层思想的,并且无需构造具体语法树的变量类型提取方法。